﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="房产销冠, 房地产,卡考网络" />
    <meta name="description" content="上海卡考网络有限公司" />
    <title>房产销冠</title>
    <link rel="stylesheet" href="css/list.css" type="text/css" />
    <link rel="stylesheet" href="css/global.css" type="text/css" />
    <link href="bootstrap/iCheck-master/skins/minimal/Orange.css" rel="stylesheet" type="text/css" />
    <!--<script src="js/jquery-1.8.3.min.js"></script>-->
    <!--<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />-->
    <script src="http://dn-blqw.qbox.me/jq+bs+art.js" type="text/javascript"></script>
    <!--<script src="js/jquery.easydropdown.min.js"></script>-->
    <!--<script src="bootstrap/iCheck-master/icheck.js"></script>-->
    <!--<script src="bootstrap/js/bootstrap.min.js"></script>-->
    <!--<script src="js/checkbox.js"></script>-->
    <script src="js/common.js"></script>
    <script src="js/PageIndex.js"></script>
    <script src="http://dn-blqw.qbox.me/kk.js"></script>
    <script src="js/WdatePicker.js"></script>
</head>
<body style="background: #f1f1f1;">
    <div class="main01">
        <div class="content clearfix">
            <div class="headline02">
                <div class="line_left">日志管理<span>(<b id="RecordCount">0</b>)</span></div>
                <div class="line_right">
                    <ul class="nav_line_right">
                        <li class="con"><a href="#">首页</a></li>
                        <li>/</li>
                        <li class="con"><a href="#">系统管理</a></li>
                        <li>/</li>
                        <li class="con"><a href="#" style="color: #60b12a;">日志管理</a></li>
                    </ul>
                </div>
            </div>
            <div class="bton">
                <div class="bton_left">
                    <div class="bton_left_nav">
                        <a href="" class="btn_refresh">刷新</a>
                    </div>
                </div>
                <div class="bton_right">
                    <div class="search bton_left_nav" style="margin-right:10px;">
                        <input type="text" class="selall fl" id="keyWords" style="margin-right:11px;" placeholder="关键字" />
                        <input type="submit" value="搜索" class="sbtn fl" onclick="f_Search()" />
                    </div>
                    <!--<div class="bton_left_nav" style="margin-right:10px;">
                        <a href="javascript:;" class="btn_select" onclick="SearchDiv()">筛选</a>
                    </div>-->
                    <div class="bton_left_nav pageIn2" style="margin-right:10px;">
                    </div>
                </div>

            </div>
        </div>
        <div style="min-height: 500px;">
            <table class="table03" style="width: 100%; max-height: 400px; table-layout: fixed; border-bottom: 1px #e6e6e6 solid;">
                <thead>
                    <tr class="info_title">
                        <th style="width: 60px">序号</th>
                        <th class="mid_line" style="width: 180px;">操作类型</th>
                        <th class="mid_line">备注</th>
                        <th class="mid_line" style="width: 200px;">时间</th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="info_cont" style="display:none">
                        <td>{F_Index}</td>
                        <td>{F_Type}</td>
                        <td>{F_Remark} </td>
                        <td>{F_AddTime} </td>
                    </tr>
                </tbody>
            </table>
            <!--放置分页 begin -->
            <table style="width: 100%; height: auto">
                <tr>
                    <td colspan="15">
                        <div class="pageIn"></div>
                    </td>
                </tr>
            </table>
            <!--放置分页 end -->
        </div>
    </div>
    <script src="js/list.js"></script>
    <script type="text/javascript">
        $(function () {
            f_Search();
        });

        function f_Search() {
            pageIndex = 1;
            f_GetData(pageIndex);
        }

        //获取记录信息
        function f_GetData(pageIndex) {
            var pageSize = 8;
            var idx = 0;
            $kk.api.get("/System/GetLogList", { keyWords: $("#keyWords").val(), pageSize: pageSize, pageIndex: pageIndex }, function (res) {
                kk.fillTable(".table03", res.Items, function (data, name) {
                    if (name == "F_Index") {
                        idx++;
                        var otherCount = pageSize * (pageIndex - 1);
                        if (isNaN(otherCount)) {
                            otherCount = 0;
                        }
                        return idx + otherCount;
                    }
                });
                $("#RecordCount").html(res.Count);
                makePageBar(f_GetData, res.Count, pageIndex, pageSize);
            });
        }

    </script>
</body>
</html>
